<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>学生信息</title>
    <link th:href="@{/layui/css/layui.css}" rel="stylesheet" />
    <style type="text/css">
        table.table1 {

            font-family: verdana,arial,sans-serif;
            font-size:11px;
            color:#333333;
            border-width: 1px;
            border-color: #666666;
            border-collapse: collapse;
        }
        table.table1 th {
            border-width: 1px;
            padding: 8px;
            border-style: solid;
            border-color: #666666;

            font-size: 14px;
            text-align: center;
            width: 200px;
            border-width: 1px;
            padding: 8px;
            height: 25px;
            background-color: #efefef;
        }
        table.table1 td {
            border-width: 1px;
            padding: 8px;
            border-style: solid;
            border-color: #666666;
            background-color: #ffffff;
            font-size: 14px;
            text-align: left;
            width: 200px;
            border-width: 1px;
            padding: 8px;
        }
        button{
            margin-left: 1190px;
            width: 95px;
            height: 45px;
            border-radius: 5px;
            color: white;
            background-color: #4169E1;
        }
        .message{
            width: 1227px;
            margin-left: 30px;
            margin-top: 15px;
        }
        .table2{
            width: 90%; font-size: 16px;text-align: center;margin: 0 auto;
            border-collapse: separate;border-spacing: 0;border: 2px #e0e0e0;
            margin-top: 20px;
        }
        .table2 td {
            border-bottom: 2px solid #eaeaea;
        }
        .tr1{
            background: #efefef;font-size: 14px;height:50px;
        }
        .tr2{
            height: 60px;border-bottom: 2px solid #eaeaea;font-size: 13px;
        }

        .savebutton{
            margin-left: 1130px;
            width: 95px;height: 45px;border-radius: 5px;color: white;background-color: #4169E1;
        }
        select{
            width: 160px;
            border: 1px solid ;
        }
    </style>
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">

    <!-- header -->
    <div th:replace="~{commons/header::header}"></div>

    <!-- left -->
    <div th:replace="~{commons/instructorLeft::left}"></div>
    <!-- 内容主体区域 -->
    <div class="layui-body">
        <div style="padding:20px 0px 45px 0px;">
            <h1 style="text-align: center">学生信息</h1>
            <div class="message">
                <form action="/instructor_stu_update" method="post" th:object="${studentinfo6}">

                    <input type="submit" value="保存" class="savebutton" >
                <h2>一、基本信息</h2>

                    <table class="table1">
                        <tr th:each="studentList:${studentinfo6}">
                            <td rowspan="6" style="width: 200px;">  <img src="image/photo.jpg" style="width: 102px;height: 135px;"></td>
                            <th >姓名</th>
                            <td th:text="${studentList.getStuName()}"> </td>
                            <th>曾用名</th>
                            <td th:text="${studentList.getStuPastName()}"> </td>
                            <th>学号</th>
                            <td th:text="${studentList.getStuId()}"> </td>
                            <th>拼音</th>
                            <td th:text="${studentList.getStuPinyin()}"> </td>
                        </tr>
                        <tr th:each="studentList:${studentinfo6}">
                            <th>性别</th>
                            <td th:text="${studentList.getStuSex()}"> </td>
                            <th>婚姻</th>
                            <td th:text="${studentList.getStuMarriage()}"> </td>
                            <th>辅导员</th>
                            <td th:text="${studentList.getStuInstructor()}"> </td>
                            <th>政治面貌</th>
                            <td th:text="${studentList.getStuPoliticalOutlook()}"> </td>
                        </tr>
                        <tr th:each="studentList:${studentinfo6}">
                            <th>国籍</th>
                            <td th:text="${studentList.getStuCountry()}"> </td>
                            <th>籍贯</th>
                            <td th:text="${studentList.getStuProvince()}"> </td>
                            <th>民族</th>
                            <td th:text="${studentList.getStuNation()}"> </td>
                            <th>出生日期</th>
                            <td th:text="${studentList.getStuBirth()}"> </td>
                        </tr>
                        <tr th:each="studentList:${studentinfo6}">
                            <th>身份证号</th>
                            <td th:text="${studentList.getStuMarriage()}"> </td>

                            <th>宿舍</th>
                            <td th:text="${studentList.getStuDormitory()}"></td>
                            <th>特别关注</th>
                            <td>
                                <input type="hidden" name="stuId" th:value="${studentList.getStuId()}">
                                <select name="stuSpecialAttention" >
                                    <option th:selected="${studentList.getStuSpecialAttention()}=='无'"  value="无">无</option>
                                    <option th:selected="${studentList.getStuSpecialAttention()}=='家庭经济困难'"  value="家庭经济困难">家庭经济困难</option>
                                    <option th:selected="${studentList.getStuSpecialAttention()}=='学业困难'"  value="学业困难'">学业困难</option>
                                    <option th:selected="${studentList.getStuSpecialAttention()}=='心理问题'"  value="心理问题">心理问题</option>
                                    <option th:selected="${studentList.getStuSpecialAttention()}=='留守儿童'"  value="留守儿童">留守儿童</option>
                                    <option th:selected="${studentList.getStuSpecialAttention()}=='农民工子女'"  value="农民工子女">农民工子女</option>
                                    <option th:selected="${studentList.getStuSpecialAttention()}=='山区'"  value="山区">山区</option>
                                    <option th:selected="${studentList.getStuSpecialAttention()}=='单身家庭'"  value="单身家庭">单身家庭</option>
                                    <option th:selected="${studentList.getStuSpecialAttention()}=='先天性疾病'"  value="先天性疾病">先天性疾病</option>
                                    <option th:selected="${studentList.getStuSpecialAttention()}=='残疾家庭子女'"  value="残疾家庭子女">残疾家庭子女</option>
                                    <option th:selected="${studentList.getStuSpecialAttention()}=='农民工子女'"  value="农民工子女">农民工子女</option>
                                </select>

                            </td>
                            <th>是否为贫困生</th>
                            <td th:text="${studentList.getStuIsPoor()}"></td>
                        </tr>
                        <tr th:each="studentList:${studentinfo6}">


                            <th >受助等级</th>
                            <td th:text="${studentList.getStuAssistanceLevel()}"></td>
                            <th>特长</th>
                            <td colspan="5" th:text="${studentList.getStuAdvantage()}"> </td>

                        </tr>
                        <tr th:each="studentList:${studentinfo6}">
                            <th>既往病史</th>
                            <td  colspan="7" th:text="${studentList.getStuPastIll()}"> </td>
                        </tr>
                        <tr >
                            <td colspan="9" style="border-right:0px;border-left:0px; "><h2>二、联系方式</h2></td>
                        </tr>
                        <tr th:each="studentList:${studentinfo6}">
                            <td rowspan="2" style="width: 330px;"> </td>
                            <th>邮编</th>
                            <td th:text="${studentList.getStuPostalCode()}"> </td>
                            <th>微信</th>
                            <td th:text="${studentList.getStuWechat()}"></td>
                            <th>qq</th>
                            <td th:text="${studentList.getStuQq()}"></td>
                            <th>邮箱</th>
                            <td th:text="${studentList.getStuEmail()}"></td>
                        </tr>
                        <tr th:each="studentList:${studentinfo6}">
                            <th>手机号码</th>
                            <td th:text="${studentList.getStuPhone()}"></td>
                            <th> 家庭住址</th>
                            <td colspan="6" th:text="${studentList.getStuAddress()} "></td>
                        </tr>

                        <tr >
                            <td colspan="9" style="border-right:0px;border-left:0px; "><h2>三、银行信息</h2></td>
                        </tr>

                        <tr th:each="studentList:${studentinfo6}">
                            <td ></td>
                            <th>所属银行</th>
                            <td th:text="${studentList.getStuBankName()}"> </td>
                            <th>开户行</th>
                            <td th:text="${studentList.getStuBankAddress()}"> </td>
                            <th>银行卡号</th>
                            <td th:text="${studentList.getStuBankId()}"> </td>
                            <th></th><td></td>

                        </tr>

                        <tr >
                            <td colspan="9" style="border-right:0px;border-left:0px; "><h2>四、学籍信息</h2></td>
                        </tr>
                        <tr th:each="studentList:${studentinfo6}">

                            <td rowspan="3" style="width: 300px;"> </td>
                            <th>年级</th>
                            <td th:text="${studentList.getStuGrade()}"></td>
                            <th>二级学院</th>
                            <td th:text="${studentList.getStuCollege()}"> </td>
                            <th>专业</th>
                            <td th:text="${studentList.getStuMajor()}"></td>
                            <th>班级</th>
                            <td th:text="${studentList.getStuClass()}"></td>
                        </tr>
                        <tr th:each="studentList:${studentinfo6}">
                            <th>学制</th>
                            <td th:text="${studentList.getStuLength()}"> </td>
                            <th>生源地</th>
                            <td th:text="${studentList.getStuSource()}"></td>
                            <th>考生号</th>
                            <td th:text="${studentList.getStuExamNum()}"></td>
                            <th>入学时间</th>
                            <td th:text="${studentList.getStuEnterTime()}"></td>
                        </tr>
                        <tr th:each="studentList:${studentinfo6}">
                            <th>学生类别</th>
                            <td th:text="${studentList.getStuType()}"></td>
                            <th>入学方式</th>
                            <td th:text="${studentList.getStuEnterType()}"> </td>
                            <th>培养层次</th>
                            <td th:text="${studentList.getStuLevel()}"></td>
                            <th>学籍状态</th>
                            <td th:text="${studentList.getStuStates()}"></td>
                        </tr>

                    </table>
                </form>
            </div>
            <div class="message">

                <h2>五、家庭情况</h2>
                <table class="table2" >
                    <thead>
                    <tr class="tr1">

                        <th>与本人关系</th>
                        <th>姓名</th>
                        <th>联系方式</th>
                        <th>工作单位</th>

                    </tr>

                    </thead>

                    <tbody>

                    <tr  class="tr2" th:each="familyList:${familyinfo6}">
                        <td th:text="${familyList.getFamilyRelation()}" ></td>
                        <td th:text="${familyList.getFamilyName()}"> </td>
                        <td th:text="${familyList.getFamilyPhone()}"></td>
                        <td th:text="${familyList.getFamilyWorkAddress()}"> </td>
                    </tr>
                    </tbody>

                </table>
            </div>

        </div>



    </div>
</div>
<script th:src="@{/layui/layui.js}"></script>
<script>
    //JavaScript代码区域
    layui.use('element', function() {
        var element = layui.element;
    });
</script>
</body>
</html>
